export const getType = function(data) {
    const typeName = Object.prototype.toString.call(data).toLowerCase()
    return typeName.substring(8, typeName.length - 1)
}
